Support custom ssh configuration for endpoints#550
Open
hendrikvanantwerpen wants to merge 2 commits intomutagen-io:masterfrom
Open
Support custom ssh configuration for endpoints#550hendrikvanantwerpen wants to merge 2 commits intomutagen-io:masterfrom
hendrikvanantwerpen wants to merge 2 commits intomutagen-io:masterfrom
Conversation
Adds support for setting custom configuration for ssh endpoints, to override the system configuration. The context is is injected by setting environment variables to the config file to use.
Include url parameters in listing output. This allows the user to see, for example, if a custom ssh configuration has been set for any of the endpoints.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this pull request do and why is it needed?
This pull requests adds support for injecting custom ssh configuration for endpoints to override the system configuration.
My particular use case is setting up syncs to cloud hosts. These hosts require specific ssh settings and change SSH keys every time they are resumed. The changes in this PR make it easy to support automating that, without having to touch the user's configuration. Changing the keys is particularly neat, since we can just rewrite the key file set in the custom config before resuming the sync.
Which issue(s) does this pull request address (if any)?
This is loosely based on the suggestion in #301.